package  event
{
	import flash.events.Event;
	
	/**
	 * ...
	 * @author lee
	 */
	public class PlayerEvent extends Event 
	{
		public static const START:String = "start";
		public static const CHAPTER_LOADED:String = "chapter_Loaded";
		public static const MEDIAPLAYER_START:String = "mediaplayer_start";
		public static const SHOW_MENU:String = "show_menu";
		public static const HIDE_MENU:String = "hide_menu";
		private var _data:*;
		public function PlayerEvent(type:String,data:*=null) 
		{
			super(type);
			_data = data;
		}
		
		public function get data():* 
		{
			return _data;
		}
		override public function clone():Event 
		{
			return new PlayerEvent(type, _data);
		}
	}

}